<?php
define('URLROOT_PRE', '/api/payment/weixin');
require dirname(dirname(dirname(__DIR__))).'/core/init.php';

$_GET['m'] = 'pay';
$_GET['act'] = 'notify';
$_GET['api'] = 'wxpay';

require MUDDER_MODULE . 'pay/common.php';